using UnityEngine;
using UnityEngine.UI;
using TEngine;

namespace GameLogic
{
    [Window(UILayer.UI)]
    class EventWindow2 : UIWindow
    {
        #region 脚本工具生成的代码
        private Button m_btn1;
        protected override void ScriptGenerator()
        {
            m_btn1 = FindChildComponent<Button>("m_btn1");
            m_btn1.onClick.AddListener(OnClick1Btn);
        }
        #endregion

        #region 事件
        private void OnClick1Btn()
        {
            GameEvent.Send("TEngine");
        }
        #endregion
    }
}
